package com.qyt.hotel.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Guest {
    // 客户编号
    private Integer guestId;
    // 客户姓名
    private String guestName;
    // 入住人数
    private Integer guestNum;
    // 客户省份证号
    private String identityId;
    // 客户电话
    private String phone;
    // 入住日期
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String resideDate;
    // 离开日期
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String leaveDate;
    // 入住状态编号
    private Integer resideStateId;
    // 房间号
    private String roomId;
    // 押金
    private Double deposit;
    // 消费总金额
    private Double totalMoney;
    // 入住状态
    private ResideState resideState;
    // 入住房间
    private Room room;
}
